package cn.xiyun.xiyuncc.service;

import cn.xiyun.xiyuncc.domain.Course;
import cn.xiyun.xiyuncc.dto.CourseSaveDto;
import cn.xiyun.xiyuncc.vo.DetailDataVO;
import cn.xiyun.xiyuncc.vo.OrderDataVO;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiyun.maple
 * @since 2023-03-11
 */
public interface ICourseService extends IService<Course> {
    /**
     * 课程新增
     * @param courseSaveDto
     */
    void courseAddition(CourseSaveDto courseSaveDto);

    /**
     * 课程上架
     * @param id
     */
    void onLineCourse(Long id);

    DetailDataVO detailData(Long id);

    String getForUser(Long id);

    OrderDataVO orderData(String ids);


    OrderDataVO orderKillData(String orderNo);
}
